package com.zhongxiangspace.entity;

import java.io.Serializable;

/**
 * 广告
 */
public class Advert implements Serializable {
    /**
     * id
     */
    private  Integer advert_id;
    /**
     * 创建时间
     */
    private  String create_time;
    /**
     * 修改时间
     */
    private  String modify_time;
    /**
     * 广告位置
     */
    private  String advert_site;
    /**
     * 封面图
     */
    private  String cover_img_path;
    /**
     * 访问路径
     */
    private  String access_path;
    /**
     * 标题
     */
    private  String title;
    /**
     * 创建人
     */
    private  String username_id;

    /**
     * 删除
     */
    private  Integer deleteCode;

    public Integer getShowCode() {
        return showCode;
    }

    public void setShowCode(Integer showCode) {
        this.showCode = showCode;
    }

    /**
     * 上下线
     */
    private  Integer showCode;


    public Integer getAdvert_id() {
        return advert_id;
    }

    public void setAdvert_id(Integer advert_id) {
        this.advert_id = advert_id;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getModify_time() {
        return modify_time;
    }

    public void setModify_time(String modify_time) {
        this.modify_time = modify_time;
    }

    public String getAdvert_site() {
        return advert_site;
    }

    public void setAdvert_site(String advert_site) {
        this.advert_site = advert_site;
    }

    public String getCover_img_path() {
        return cover_img_path;
    }

    public void setCover_img_path(String cover_img_path) {
        this.cover_img_path = cover_img_path;
    }

    public String getAccess_path() {
        return access_path;
    }

    public void setAccess_path(String access_path) {
        this.access_path = access_path;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUsername_id() {
        return username_id;
    }

    public void setUsername_id(String username_id) {
        this.username_id = username_id;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Advert{");
        sb.append("advert_id=").append(advert_id);
        sb.append(", create_time='").append(create_time).append('\'');
        sb.append(", modify_time='").append(modify_time).append('\'');
        sb.append(", advert_site='").append(advert_site).append('\'');
        sb.append(", cover_img_path='").append(cover_img_path).append('\'');
        sb.append(", access_path='").append(access_path).append('\'');
        sb.append(", title='").append(title).append('\'');
        sb.append(", username_id='").append(username_id).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
